<template>
  <div :style="{ width: props.width, height: props.height }">
    <el-image
      :src="props.models.src"
      :fit="props.models.fit"
      alt=""
      class="w-[100%] h-[100%]"
    />
  </div>
</template>

<script setup lang="ts">
import { getImageUrl } from "@renderer/utils/other";
import { computed, ref } from "vue";

type Props = {
  width: string;
  height: string;
  models: any;
  responseData: any;
};
let props = withDefaults(defineProps<Props>(), {
  width: "",
  height: "",
  models: () => ({}),
});
</script>

<style scoped lang="scss"></style>
